
            <table class="ui-table ui-body">
                <thead>
                <tr>
                    <th class="pct10">名称</th>
                    <{foreach from=$dateArr key=key item=date}>
                        <th class="pct5"><{substr($date,-5)}><br />周<{$week[$key%7]}></th>
                    <{/foreach}>
                </tr>
                </thead>
                <tbody>
                <{foreach from=$list item=item}>
                <tr>
                    <th rowspan="2">(<{$item.rid}>)<{$item.roomName}></th>
                    <{foreach from=$dateArr item=date}>
                            <{if is_array($item['data'][$date])}>
                                <td class="<{$item['data'][$date][0]}>" data-rid="<{$item.rid}>" data-date="<{$date}>"><{$item['data'][$date][1]}></td>
                            <{else}>
                                <td  data-rid="<{$item.rid}>" data-date="<{$date}>"><{$item['data'][$date]}></td>
                            <{/if}>
                    <{/foreach}>
                </tr>
                <tr><th colspan="14" class="rule" data-rid="<{$item.rid}>" data-workdayprice="<{$item['workDayPrice']}>" data-weekendprice="<{$item['weekEndPrice']}>"  data-devide="<{$item['devide']}>" data-workdayprice2="<{$item['workDayPrice2']}>" data-weekendprice2="<{$item['weekEndPrice2']}>" >
                    周日至周四:<{$item['workDayPrice']}>,周五至周六:<{$item['weekEndPrice']}>
                    <{if $item['devide'] neq '0000-00-00'}>
                     <br /> <{$item['devide']}>之后（含），调整价格为：周日至周四:<{$item['workDayPrice2']}>,周五至周六:<{$item['weekEndPrice2']}>
                    <{/if}>
                </th></tr>
                <{/foreach}>
                </tbody>
            </table>
